<template>
  <chart :options="opts" :width="width" :height="height || '140px'"></chart>
</template>

<script>
export default {
  name: 'Gauge',

  props: ['width', 'height', 'options'],

  computed: {
    opts () {
      let defaultOptions = {
        series: []
      }

      return _.merge({}, defaultOptions, this.options)
    }
  }
}
</script>

<style lang="css">
</style>
